home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18543 < prev    next >
Encoding:
Text File  |  1996-08-05  |  930 b   |  30 lines

  1. Path: ix.netcom.com!news
  2. From: philma@ix.netcom.com(Phil Majtan)
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Re: calling 16 bit DLL from 32-bit C/C++ program?
  5. Date: 20 Apr 1996 21:42:26 GMT
  6. Organization: Netcom
  7. Message-ID: <4lblo2$mge@dfw-ixnews3.ix.netcom.com>
  8. References: <4l4die$i7q@vixen.cso.uiuc.edu>
  9. NNTP-Posting-Host: det-mi4-18.ix.netcom.com
  10. X-NETCOM-Date: Sat Apr 20  4:42:26 PM CDT 1996
  11.  
  12. In <4l4die$i7q@vixen.cso.uiuc.edu> Baogang Yao <b-yao@cs.uiuc.edu>
  13. writes: 
  14. >
  15. >Does anybody know whether it's possible to call a 16-bit DLL from a
  16. >32bit C/C++ application? I am using Microsoft Visual C++4.0, and I
  17. >have to call a 16 bit DLL. 
  18. >
  19. >Any suggestions will be helpful. Thanks in advance.
  20. >
  21. >Baogang Yao
  22. >b¡yao@cs.uiuc.edu
  23. >
  24.  
  25. You might have to write code that will 'thunk' to the 16 bit DLL.  It's
  26. a bit more involved than it's worth, though.  
  27. The Win32s that is for Windows 3.1 is an example of this technique.
  28. Phil
  29.  
  30.